package top.lyc829.zzl_android.logic.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author lyc
 * @create 2021-02-28 18:29
 */
public class UserInfoBean implements Serializable {


    /**
     * id : 123
     * nickname : GoldenLee
     * account : lyc0209@qq.com
     * avatar : http://pic.lyc829.top/index_base_image.jpg
     * signature : 1232245454545
     * gender : 男
     * age : 10
     */

    @SerializedName("id")
    private Integer id;
    @SerializedName("nickname")
    private String nickname;
    @SerializedName("account")
    private String account;
    @SerializedName(value = "avatar", alternate = {"url", "indexImgUrl"})
    private String avatarUrl;
    @SerializedName("signature")
    private String signature;
    @SerializedName(value = "gender", alternate = {"genter"})
    private String gender;
    @SerializedName("age")
    private Integer age;
    @SerializedName("born_time")
    private String bornTime;

    @SerializedName(value = "is_like",alternate = {"relation"})
    private String isLike;


    public String getIsLike() {
        return isLike;
    }

    public void setIsLike(String isLike) {
        this.isLike = isLike;
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }




    public List<UserInfoBean> getExamples() {
        List<UserInfoBean> list = new ArrayList<>();
        for(int i = 0; i < 30; i++) {
            UserInfoBean userInfoBean=new UserInfoBean();
            userInfoBean.setId(1);
            userInfoBean.setNickname("你好，李焕英你好，李焕英");
            userInfoBean.setSignature("我就是我，是颜色不一样的烟火~");
            userInfoBean.setAvatarUrl("http://pic.lyc829.top/index_base_image.jpg");
            list.add(userInfoBean);
        }
        return list;
    }

    public String getBornTime() {
        return bornTime;
    }

    public void setBornTime(String bornTime) {
        this.bornTime = bornTime;
    }

    @Override
    public String toString() {
        return "UserInfoBean{" +
                "id=" + id +
                ", nickname='" + nickname + '\'' +
                ", account='" + account + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", signature='" + signature + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", bornTime='" + bornTime + '\'' +
                ", isLike='" + isLike + '\'' +
                '}';
    }
}
